package com.shwread.android.qysw.step.dto;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;

import java.io.Serializable;

/**
 * Created by Fantasy on 16/3/31.
 */
public class HMUserInfoDto implements Serializable{
    @SerializedName("HMUserHealthInfo")
    HMUserInfo HMUserInfo;
    int HMUserId;

    public int getHMUserId() {
        return HMUserId;
    }

    public void setHMUserId(int HMUserId) {
        this.HMUserId = HMUserId;
    }

    public HMUserInfo getHMUserInfo() {
        return HMUserInfo;
    }


    public static HMUserInfoDto parserJson(String jsonString) {
        Gson gson = new Gson();
        return (HMUserInfoDto) gson.fromJson(jsonString, new TypeToken<HMUserInfoDto>() {
        }.getType());
    }
}
